#include"ShareMemory.hpp"
using namespace std;
int main()
{
	//1.创建key
        key_t k=::ftok(gpath.c_str(),gprojid);
        if(k<0)
        {
                cerr<<"key值创建失败"<<endl;
        }
        cout<<ToHex(k)<<" "<<endl;
	return 0;
}

